﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Waker.Entitys;

namespace Waker.BAL
{
    public class BAL_Records : BAL_Base
    {
        #region 工资确认
        public DataTable WagesSearch(int year, int month, string depID, string name, string no, string idCard)
        {
            return new DAL.DAL_Records().WagesSearch(year, month, depID, name, no, idCard);
        }
        #endregion
        #region 事件
        public bool InsertEventRecord(List<En_ADSEventData> list)
        {
            return new DAL.DAL_Records().InsertEventRecord(list);
        }
        public bool UpdateEventRecordPic(string eventId, string picPaht)
        {
            return new DAL.DAL_Records().UpdateEventRecordPic(eventId, picPaht);
        }
        #endregion

        #region 未刷卡记录
        public DataTable EmployeeNoWipeSeach(DateTime BeginDate, DateTime endDate, string depID, string name, string no, string idCard)
        {
            return new DAL.DAL_Records().EmployeeNoWipeSeach(BeginDate, endDate, depID, name, no, idCard);
        }
        #endregion
        #region 教育培训记录
        public DataTable EmployeeNoEduSearch(DateTime BeginDate, DateTime endDate, string depID, string name, string no, string idCard, string safeID)
        {
            return new DAL.DAL_Records().EmployeeNoEduSearch(BeginDate, endDate, depID, name, no, idCard, safeID);
        }
        #endregion

        #region 刷卡记录
        public DataTable WipeRecordSeach(DateTime BeginDate, DateTime endDate, string depID, string name, string no, string idCard, bool Is_AlarmEvent)
        {
            return new DAL.DAL_Records().WipeRecordSeach(BeginDate, endDate, depID, name, no, idCard, Is_AlarmEvent);
        }
        #endregion
    }
}
